﻿
using System.ComponentModel;

namespace PipeDetection.Model
{
    /// <summary>
    /// 管段
    /// </summary>

    public class PipeSection
    {
        [ReadOnly(true)]
        public int Id { get; set; }

        [DisplayName("管段名称"), ReadOnly(true),Category("参数")]
        public string PipeSectionName { get; set; }
        [DisplayName("管网分段ID"), ReadOnly(true), Category("参数")]
        public int PipeNetAreaID { get; set; }
        [DisplayName("排水管直径"),Description("单位mm"), Category("参数")]
        public int Diameter { get; set; }
        [DisplayName("材料"), Description("制造排水管材料"), Category("参数")]
        public Materials Material { get; set; }
        [DisplayName("采集设备"), Description("采集设备型号"), Category("参数")]
        public string EquipmentType { get; set; }

        [DisplayName("常量1"), Description("潜水器和声呐的固定间距"), Category("参数")]
        public int C1 { get; set; }
        [DisplayName("常量2"), Description("潜水器和断面仪的固定间距"), Category("参数")]
        public int C2 { get; set; }

        [DisplayName("位置"), Description("简单描述地理位置，或周围特征建筑"), Category("参数")]
        public string Position { get; set; }

        [DisplayName("操作员"), Description("数据处理或数据采集人员名称"), Category("参数")]
        public string Operator { get; set; }
        [DisplayName("备注信息"), Description("备注信息"), Category("参数")]
        public string Remark { get; set; }

    }
    public enum Materials
    { 
        钢,
        混凝土,
        塑料波纹管
    }
}
